package cn.thirdplatform.taskscheduler;

import lombok.extern.slf4j.Slf4j;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

/**
 * @author simon
 * @date 2019/4/28 11:38
 * @copyright:
 * @modifier
 * @motto a no talent, people who have to study hard
 */
@Slf4j
@Component
public class TaskHandler {

    @Scheduled(cron = "0/5 * * * * ?")
    public void t1() {
        log.info("dubbo,1,2,3,4,5");
    }

}
